var express=require('express');
var cookieParser=require('cookie-parser');

var app=express();
app.use(cookieParser());

app.get('/',function(req,res)
{
    console.log('cookies:',req.cookies);
});

//app.listen(8881);
var server = app.listen(8888, function () {

    var host = server.address().address
    var port = server.address().port

    console.log("应用实例，访问地址为 http://%s:%s", host, port)

})
